//
//  LeveyHUD.h
//  LeveyHUD
//
//  Created by yuike6 yuike6 on 12-2-15.
//  Copyright (c) 2012年 yuike. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LeveyHUDTopMask, LeveyHUDBottomMask;
@interface LeveyHUD : UIView
{
    UIActivityIndicatorView *_spinner;
    UILabel *_label;
    LeveyHUDTopMask *_topMask;
    LeveyHUDBottomMask *_bottomMask;
}

+ (LeveyHUD *)showHUDAddedTo:(UIView *)view withText:(NSString*)text;
+ (LeveyHUD *)showHUDAddedToWindow:(UIWindow *) window  withText:(NSString*)text;

+ (BOOL)hideHUDForView:(UIView *)view withText:(NSString*)text;
+ (BOOL)hideHUDForWindow:(UIWindow *) window  withText:(NSString*)text;



@end
